<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
     <table border="1">
         {% for item in result.items() %}
         <tr>
             <td>{{ item[0] }}</td>
             <td>{{ item[1] }}</td>
         </tr>
         {% endfor %}
     </table>
</body>
</html>